package com.ktdaddy.response;

import com.ktdaddy.enums.LoginCode;

/**
 * @author kdaddy@163.com
 * @date 2021/4/29 23:09
 */
public class LoginResultResp {
    // 登录结果
    private Boolean result;

    // 登录状态值
    private LoginCode loginCode;

    // token信息
    private String token;

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public LoginResultResp(Boolean result, LoginCode loginCode) {
        this.result = result;
        this.loginCode = loginCode;
    }

    public Boolean getResult() {
        return result;
    }

    public void setResult(Boolean result) {
        this.result = result;
    }

    public LoginCode getLoginCode() {
        return loginCode;
    }

    public void setLoginCode(LoginCode loginCode) {
        this.loginCode = loginCode;
    }
}
